const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // avatar: state => state.user.avatar,
  name: state => state.user.nickName,
  username: state => state.user.userame,
  deptId: state => state.user.deptId,
  openId: state => state.user.openId,
  id: state => state.user.id,
  permission_routes: state => state.permission.routes,
  roles: state => state.user.roles,
  consult: state => state.txs.consultObj,
};
export default getters;
